package com.obrempon.credit.market.weight.font;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.obrempon.module.shapeview.view.ShapeTextView;

/**
 * ObremponCredit
 *
 * @Author wwdeng
 * @CreateTime: 2024/12/26 21:20
 * @Annotation：
 */
public class IBMPlexSansKRBoldTextView extends ShapeTextView{
    public IBMPlexSansKRBoldTextView(Context context) {
        super(context);
    }
    public IBMPlexSansKRBoldTextView(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public IBMPlexSansKRBoldTextView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }
    @Override
    public void setTypeface(@Nullable Typeface tf) {
        super.setTypeface(tf);
    }
    @Override
    public void setTypeface(@Nullable Typeface tf, int style) {
        super.setTypeface(Typeface.createFromAsset(getContext().getAssets(), "fonts/IBMPlexSansKR-Bold.ttf"));
    }
}
